﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Abp.Extensions;
using LeadThing.AbpZeroTemplate.CallTypes;

namespace LeadThing.AbpZeroTemplate.CallTypes.Dtos
{
    /// <summary>
    /// 一键报警类型表编辑用Dto
    /// </summary>
    [AutoMap(typeof(CallType))]
    public class CallTypeEditDto
    {

        /// <summary>
        ///   主键Id
        /// </summary>
        [DisplayName("主键Id")]
        public long? Id { get; set; }

        /// <summary>
        /// 一键报警类型名称
        /// </summary>
        [DisplayName("一键报警类型名称")]
        [Required]
        public string Title { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        public string Remarks { get; set; }

    }
}
